package com.globalblue;

import net.lingala.zip4j.core.ZipFile;
import net.lingala.zip4j.exception.ZipException;

public class FileUnzip {
	public void ExtractAllFiles(String zipFile, String destination) {

		try {
			// Initiate ZipFile object with the path/name of the zip file.
			ZipFile sourceZipFile = new ZipFile(zipFile);

			// Extracts all files to the path specified
			sourceZipFile.extractAll(destination);

		} catch (ZipException e) {
			e.printStackTrace();
		}

	}
}
